package com.yanjiali.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yanjiali.entity.SysRole;

/**
* @Package: com.yanjiali.mapper
* @Author: yanjiali
* @Created: 2025/4/10 22:35
 * 用户角色mapper接口
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    /**
     * 获取对应用户的角色信息
     * @param userId
     * @return
     */
    String getUserRoleCode(Long userId);
}